package com.wp.common.exception;

import com.wp.common.enums.ExceptionEnum;
import lombok.Getter;

/**
 * 自定义异常
 *
 * @author wp
 * @create 2019-03-03 11:51
 */
@Getter
public class ScException extends RuntimeException {

    private ExceptionEnum exceptionEnum;

    public ScException(ExceptionEnum exceptionEnum) {
        this.exceptionEnum = exceptionEnum;
    }

}
